<template>
    <div>
    <h2 class="title">{{message}}</h2>
    <button @click="btnClick">按钮</button>
    <h2>{{name}}</h2>
    </div>
</template>

<script>
export default {
    name: 'webpackApp',
    data() {
        return {
            message: 'hello world',
            name: 'leon'
        }
    },
    methods: {
        btnClick() {

        }
    }
   
};
</script>

<style lang="" scoped>
    .title {
        color: green;
    }
</style>